<div class="vaitros view">
<h2><?php  __('Vaitro');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaitro['Vaitro']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ten Vaitro'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaitro['Vaitro']['ten_vaitro']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Vaitro', true), array('action' => 'edit', $vaitro['Vaitro']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Vaitro', true), array('action' => 'delete', $vaitro['Vaitro']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $vaitro['Vaitro']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Vaitros', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Vaitro', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dgdecuongs', true), array('controller' => 'dgdecuongs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dgdecuong', true), array('controller' => 'dgdecuongs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dgluanvans', true), array('controller' => 'dgluanvans', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dgluanvan', true), array('controller' => 'dgluanvans', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Qdhdbaovedecuongcanbos', true), array('controller' => 'qdhdbaovedecuongcanbos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Qdhdbaovedecuongcanbo', true), array('controller' => 'qdhdbaovedecuongcanbos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Qdhoidongdanhgialuanvancanbos', true), array('controller' => 'qdhoidongdanhgialuanvancanbos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Qdhoidongdanhgialuanvancanbo', true), array('controller' => 'qdhoidongdanhgialuanvancanbos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Taikhoans', true), array('controller' => 'taikhoans', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Taikhoan', true), array('controller' => 'taikhoans', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Dgdecuongs');?></h3>
	<?php if (!empty($vaitro['Dgdecuong'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Vaitro Id'); ?></th>
		<th><?php __('Quyetdinh Id'); ?></th>
		<th><?php __('Stt Danhgia'); ?></th>
		<th><?php __('Diem'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($vaitro['Dgdecuong'] as $dgdecuong):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $dgdecuong['id'];?></td>
			<td><?php echo $dgdecuong['canbo_id'];?></td>
			<td><?php echo $dgdecuong['vaitro_id'];?></td>
			<td><?php echo $dgdecuong['quyetdinh_id'];?></td>
			<td><?php echo $dgdecuong['stt_danhgia'];?></td>
			<td><?php echo $dgdecuong['diem'];?></td>
			<td><?php echo $dgdecuong['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'dgdecuongs', 'action' => 'view', $dgdecuong['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'dgdecuongs', 'action' => 'edit', $dgdecuong['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'dgdecuongs', 'action' => 'delete', $dgdecuong['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $dgdecuong['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Dgdecuong', true), array('controller' => 'dgdecuongs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Dgluanvans');?></h3>
	<?php if (!empty($vaitro['Dgluanvan'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Vaitro Id'); ?></th>
		<th><?php __('Quyetdinh Id'); ?></th>
		<th><?php __('Stt Danhgia'); ?></th>
		<th><?php __('Diem'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($vaitro['Dgluanvan'] as $dgluanvan):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $dgluanvan['id'];?></td>
			<td><?php echo $dgluanvan['canbo_id'];?></td>
			<td><?php echo $dgluanvan['vaitro_id'];?></td>
			<td><?php echo $dgluanvan['quyetdinh_id'];?></td>
			<td><?php echo $dgluanvan['stt_danhgia'];?></td>
			<td><?php echo $dgluanvan['diem'];?></td>
			<td><?php echo $dgluanvan['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'dgluanvans', 'action' => 'view', $dgluanvan['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'dgluanvans', 'action' => 'edit', $dgluanvan['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'dgluanvans', 'action' => 'delete', $dgluanvan['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $dgluanvan['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Dgluanvan', true), array('controller' => 'dgluanvans', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Qdhdbaovedecuongcanbos');?></h3>
	<?php if (!empty($vaitro['Qdhdbaovedecuongcanbo'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Vaitro Id'); ?></th>
		<th><?php __('Quyetdinh Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($vaitro['Qdhdbaovedecuongcanbo'] as $qdhdbaovedecuongcanbo):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $qdhdbaovedecuongcanbo['id'];?></td>
			<td><?php echo $qdhdbaovedecuongcanbo['canbo_id'];?></td>
			<td><?php echo $qdhdbaovedecuongcanbo['vaitro_id'];?></td>
			<td><?php echo $qdhdbaovedecuongcanbo['quyetdinh_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'qdhdbaovedecuongcanbos', 'action' => 'view', $qdhdbaovedecuongcanbo['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'qdhdbaovedecuongcanbos', 'action' => 'edit', $qdhdbaovedecuongcanbo['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'qdhdbaovedecuongcanbos', 'action' => 'delete', $qdhdbaovedecuongcanbo['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $qdhdbaovedecuongcanbo['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Qdhdbaovedecuongcanbo', true), array('controller' => 'qdhdbaovedecuongcanbos', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Qdhoidongdanhgialuanvancanbos');?></h3>
	<?php if (!empty($vaitro['Qdhoidongdanhgialuanvancanbo'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Vaitro Id'); ?></th>
		<th><?php __('Quyetdinh Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($vaitro['Qdhoidongdanhgialuanvancanbo'] as $qdhoidongdanhgialuanvancanbo):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $qdhoidongdanhgialuanvancanbo['id'];?></td>
			<td><?php echo $qdhoidongdanhgialuanvancanbo['canbo_id'];?></td>
			<td><?php echo $qdhoidongdanhgialuanvancanbo['vaitro_id'];?></td>
			<td><?php echo $qdhoidongdanhgialuanvancanbo['quyetdinh_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'qdhoidongdanhgialuanvancanbos', 'action' => 'view', $qdhoidongdanhgialuanvancanbo['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'qdhoidongdanhgialuanvancanbos', 'action' => 'edit', $qdhoidongdanhgialuanvancanbo['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'qdhoidongdanhgialuanvancanbos', 'action' => 'delete', $qdhoidongdanhgialuanvancanbo['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $qdhoidongdanhgialuanvancanbo['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Qdhoidongdanhgialuanvancanbo', true), array('controller' => 'qdhoidongdanhgialuanvancanbos', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Taikhoans');?></h3>
	<?php if (!empty($vaitro['Taikhoan'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Username'); ?></th>
		<th><?php __('Password'); ?></th>
		<th><?php __('Vaitro Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($vaitro['Taikhoan'] as $taikhoan):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $taikhoan['id'];?></td>
			<td><?php echo $taikhoan['username'];?></td>
			<td><?php echo $taikhoan['password'];?></td>
			<td><?php echo $taikhoan['vaitro_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'taikhoans', 'action' => 'view', $taikhoan['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'taikhoans', 'action' => 'edit', $taikhoan['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'taikhoans', 'action' => 'delete', $taikhoan['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $taikhoan['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Taikhoan', true), array('controller' => 'taikhoans', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
